package com.luther.design.factory;

/**
 *
 *
 * 静态工厂方法模式
 * 最常用的一种工厂模式
 * 不需要创建工厂类实例，直接调用即可
 * <h3>Description</h3>
 * TODO
 * <h3>Author</h3> luzhenbang
 * <h3>Date</h3> 03/04/2018 16:54
 * <h3>Copyright</h3> Copyright (c)2018 Shenzhen TL  Co., Ltd. Inc. All rights reserved.
 */
public class SenderFactory {

    public static MailSender getMailSender(){
        return new MailSender();
    }

    public static SMSSender getSMSSender(){
        return new SMSSender();
    }




}
